export default [
    {
        path: "/",
        redirect: "/home" //路由重定向
    },
    {
        path: "/home",
        component: "home",
        routes: [
            {
                path: "child",
                component: "home/child"
            }
        ]
    },
    { path: "/message/:id", component: "message" },
    {
        path: "/mine",
        component: "mine",
        wrappers: ['@/wrappers/auth'] //路由权限校验
    },
    {
        path: "/login",
        component: "login",
    }
]